package com.bootdo.project.service.impl;

import com.bootdo.project.domain.TBusinessShop;
import com.bootdo.project.dao.TBusinessShopMapper;
import com.codegen.vo.Page;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;

import org.apache.ibatis.annotations.Param;

/**
 *
 * Created by xxxx on 2019/03/19.
 */
@Service
public class TBusinessShopService {

	@Autowired
    private TBusinessShopMapper tBusinessShopMapper;
    
    public int deleteByPrimaryKey(Integer id){
        return tBusinessShopMapper.deleteByPrimaryKey(id);
    }

    public int insert(TBusinessShop record){
        return tBusinessShopMapper.insert(record);
    }

    public int insertSelective(TBusinessShop record){
        return tBusinessShopMapper.insertSelective(record);
    }

    public TBusinessShop selectByPrimaryKey(Integer id){
        return tBusinessShopMapper.selectByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(TBusinessShop record){
        return tBusinessShopMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(TBusinessShop record){
        return tBusinessShopMapper.updateByPrimaryKey(record);
    }

    public List<TBusinessShop> selectByCondition(TBusinessShop record){
        return tBusinessShopMapper.selectByCondition(record);
    }

    public List<TBusinessShop> selectAll(){
        return tBusinessShopMapper.selectAll();
    }

    public List<TBusinessShop> selectByPage(Page<TBusinessShop> page){
        return tBusinessShopMapper.selectByPage(page);
    }

    public Integer count(TBusinessShop record){
        return tBusinessShopMapper.count(record);
    }

    public int deleteByCondition(TBusinessShop record){
        return tBusinessShopMapper.deleteByCondition(record);
    }

}
